﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LuShanTea.Front.Web.Models
{
    public class OrderByNowModel
    {
        [Range(1, long.MaxValue, ErrorMessage = "商品未找到")]
        public long GoodId { get; set; }

        [Range(1, long.MaxValue, ErrorMessage = "改商品没有改类型包装")]
        public long PackId { get; set; }

        [Range(1, int.MaxValue, ErrorMessage = "数量必须大于等于1")]
        public int Count { get; set; }
    }
}